class TraineeSkill:
    def __init__(self) -> None:
        self.table1 = {
            "a00": ["奥术飞弹","解锁奥术弹术",0],
            "a01": ["奥术飞弹","奥术飞弹伤害+60%",0],
            "a02": ["奥术飞弹","奥术飞弹伤害+180%",0],
            "a03": ["奥术飞弹","奥术飞弹冷却-30%",0],
            "a04": ["奥术飞弹","奥术飞弹伤害-15%,数量+1",0],
            "a05": ["奥术飞弹","奥术飞弹伤害+30%,穿透+1",0],
            "a06": ["奥术飞弹","奥术飞弹命中怪物后爆炸",0],
            "a07": ["奥术飞弹","奥弹额外释放一次，伤害-30%",0],
            "a08": ["奥术飞弹","将奥弹变为火焰飞弹，可以引燃怪物",0],
            "a09": ["奥术飞弹","奥弹命中怪物后释放2个次级奥数飞弹",0],
            "a10": ["奥术飞弹","奥弹命中后，每个产生的次级飞弹将向4个方向发射",0],
            "a11": ["奥术飞弹","奥弹命中怪物受到伤害+5%,治疗效果-10%,可叠加10次",0],
            "a12": ["奥术飞弹","奥术飞弹伤害+120%",0],
            "a13": ["奥术飞弹","奥术飞弹冷却-10%",0],
            "b00": ["火球术","解锁火球术",0],
            "b01": ["火球术","火球子弹+1",1],
            "b02": ["火球术","火球子弹+2",1],
            "b03": ["火球术","火球冲击伤害+80%",0],
            "b04": ["火球术","火球爆破伤害+80%",0],
            "b05": ["火球术","火球爆炸范围+80%",0],
            "b06": ["火球术","火球伤害-20%连发+1",1],
            "b07": ["火球术","火球爆炸会引燃怪物6秒",1],
            "b08": ["火球术","火球爆炸后释放3个火花",0],
            "b09": ["火球术","火球术伤害+40%,冷却-20%",0],
            "b10": ["火球术","火球术伤害+20%,冷却-10%",0],
            "b11": ["火球术","火球伤害-20%,额外释放一次",1],
            "c00": ["冰锥术","解锁冰锥术",0],
            "c01": ["冰锥术","冰锥伤害+60%",0],
            "c02": ["冰锥术","冰锥伤害+120%",0],
            "c03": ["冰锥术","将冰锥变为三棱冰锥",1],
            "c04": ["冰锥术","冰锥伤害+30%,穿透+2",0],
            "c05": ["冰锥术","冰锥子弹+1,伤害-40%",1],
            "c06": ["冰锥术","冰锥击退+200%,穿透+2",1],
            "c07": ["冰锥术","冰锥额外释放I次,伤害-20%",1],
            "c08": ["冰锥术","冰锥速度-30%,伤害+50%,穿透+1",0],
            "c09": ["冰锥术","冰锥触及屏幕边缘后会原路折返",0],
            "c10": ["冰锥术","冰锥伤害+30%,命中后会冻结怪物2秒",1],
            "c11": ["冰锥术","冰锥命中后施加10秒可叠加5次的冻伤",0],
            "c12": ["冰锥术","冰锥命中怪物后生成额外释放冰霜新星",1],
            "d00": ["飓风术","解锁飓风术",0],
            "d01": ["飓风术","飓风术穿透+6",0],
            "d02": ["飓风术","飓风术伤害+60%",0],
            "d03": ["飓风术","飓风术额外释放1次",0],
            "d04": ["飓风术","飓风术伤害+40%,击退+50%",0],
            "d05": ["飓风术","飓风术伤害+30%,附带3秒减速效果",0],
            "d06": ["飓风术","飓风术在命中的首个怪物的位置释放1个小龙卷风",1],
            "d07": ["飓风术","飓风术命中怪物时造成小范围伤害并牵引周围怪物",0],
            "d08": ["飓风术","飓风术每命中一个怪物都会生成1个穿透效果和伤害更低的小旋风",1],
            "e00": ["闪电链","解锁闪电链",0],
            "e01": ["闪电链","闪电链伤害+60%",0],
            "e02": ["闪电链","闪电链伤害+120%,冷却-5%",0],
            "e03": ["闪电链","闪电链伤害+30%,冷却-5%",0],
            "e04": ["闪电链","闪电链伤害+30%,弹射次数+2",0],
            "e05": ["闪电链","闪电链初始目标+1,伤害-20%",0],
            "e06": ["闪电链","闪电链伤害+30%并附带1秒麻痹效果",1],
            "e07": ["闪电链","闪电链每次命中敌人都会产生一次爆炸",1],
            "e08": ["闪电链","闪电链伤害-60%,但能对路径闻的敌人造成伤害",1],
            "f00": ["聚焦激光","解锁聚焦激光",0],
            "f01": ["聚焦激光","聚焦激光伤害次数+15",0],
            "f02": ["聚焦激光","聚焦射 +1",0],
            "f03": ["聚焦激光","聚焦激光造成伤害+60%",0],
            "f04": ["聚焦激光","聚焦激光造成伤害+120%",0],
            "f05": ["聚焦激光","聚焦激光造成伤害+180%",0],
            "f06": ["聚焦激光","聚焦激光伤害+30%,会将伤害到的敌人引燃2秒",0],
            "f07": ["聚焦激光","聚焦激光攻击范围提高200,转移火力速度翻倍",0],
            "f08": ["聚焦激光","聚焦激光折射+1",0],
            "g00": ["榴弹","解锁榴弹",0],
            "g01": ["榴弹","榴弹冷却-20%",1],
            "g02": ["榴弹","榴弹伤害+60%",0],
            "g03": ["榴弹","榴弹伤害+120%",0],
            "g04": ["榴弹","榴弹伤害+60%,冷却-20%",1],
            "g05": ["榴弹","榴弹伤害+120%,冷却-20%",1],
            "g06": ["榴弹","榴弹伤害+150%冷却延长30%",0],
            "g07": ["榴弹","榴弹额外释放1次",1],
            "g08": ["榴弹","榴弹爆炸范围+100%",1],
            "g09": ["榴弹","榴弹爆炸时附带1.5秒晕眩(绝版)",1],
            "g10": ["榴弹","榴弹伤害-20%,爆炸后会弹跳一次",1],
            "g11": ["榴弹","榴弹造成伤害时附加2秒燃烧,并有30%概率额外附加1秒冻结(绝版)",1],
            "h00": ["脉冲激光","解锁脉冲激光",0],
            "h01": ["脉冲激光","脉冲激光范围+150%(变大光波)",1],
            "h02": ["脉冲激光","脉冲激光造成伤害+60%",0],
            "h03": ["脉冲激光","脉冲激光造成伤害+120%",0],
            "h04": ["脉冲激光","脉冲激光伤害+60%冷却-5%",0],
            "h05": ["脉冲激光","脉冲激光伤害+120%,冷却-10%",0],
            "h06": ["脉冲激光","脉冲激光变为脉冲光波",1],
            "h07": ["脉冲激光","脉冲激光使怪物在0.5秒内冻结",1],
            "h08": ["脉冲激光","脉冲激光伤害次数翻倍，冷却+50%",0],
            "h09": ["脉冲激光","脉冲激光使怪物在1秒内移动速度-80%",1],
            "h10": ["脉冲激光","脉冲激光使怪物5秒内受到伤害+25%,不叠加",1],
        }
        self.table2 = {
            "解锁奥术弹术": "a00",
            "奥术飞弹伤害+60%": "a01",
            "奥术飞弹伤人害+60%": "a01",
            "奥术飞弹伤害+180%": "a02",
            "奥术飞弹冷却-30%": "a03",
            "奥术飞弹伤害-15%,数量+": "a04",
            "奥术飞弹伤害+30%,穿透+1": "a05",
            "奥术飞弹命中怪物": "a06",
            "奥术飞弹额外释放": "a07",
            "奥术飞弹冷却-10%": "a13",
            "火焰飞弹": "a08",
            "次级奥数飞弹": "a09",
            "4个方向": "a10",
            "可叠加10次": "a11",
            "奥术飞弹伤害+120%": "a12",
            "解锁火球术":"b00",
            "火球子弹+1":"b01",
            "火球子弹+2":"b02",
            "火球冲击伤害":"b03",
            "火球爆破伤害":"b04",
            "火球爆炸范围":"b05",
            "火球伤害-20":"b06",
            "火球伤害-20":"b06",
            "引燃怪物":"b07",
            "释放3个火花":"b08",
            "火球术伤害+40%":"b09",
            "火球术伤害+20%":"b10",
            "火球伤害-20%，额外释放一次":"b11",
            "火球伤害20%":"b11",
            "解锁冰锥术": "c00",
            "冰锥伤害+60%": "c01",
            "冰锥伤害七60%": "c01",
            "冰锥伤害60%": "c01",
            "冰锥伤害+120%": "c02",
            "冰锥伤害七120%": "c02",
            "冰锥伤害120%": "c02",
            "三棱冰锥" : "c03",
            "三棱冰维" : "c03",
            "冰锥伤害+30%" : "c04",
            "冰锥伤害七30%" : "c04",
            "冰锥伤害30%" : "c04",
            "冰锥子弹" : "c05",
            "冰锥击退" : "c06",
            "冰锥额外" : "c07",
            "冰锥速度" : "c08",
            "原路折返" : "c09",
            "冻结怪物" : "c10",
            "叠加5次的冻伤" : "c11",
            "额外释放冰霜新星" : "c12",
            "解锁飓风术" : "d00",
            "飓风术穿透+6": "d01",
            "飓风术伤害+60%": "d02",
            "飓风术额外释放1次": "d03",
            "飓风术伤害+40%": "d04",
            "附带3秒减速效果": "d05",
            "小龙卷风": "d06",
            "牵引周围怪物": "d07",
            "飓风术每命中": "d08",
            "解锁闪电链": "e00",
            "闪电链伤害+60%": "e01",
            "闪电链伤害+120%，冷却-5%": "e02",
            "闪电链伤害+30%，冷却-5%": "e03",
            "弹射次数": "e04",
            "闪电链初始目标": "e05",
            "附带1秒麻痹": "e06",
            "附带秒麻痹": "e06",
            "产生一次爆炸": "e07",
            "路径间的敌人": "e08",
            "解锁聚焦激光": "f00",
            "聚焦激光伤害次数+15": "f01",
            "聚焦射 +1": "f02",
            "聚焦激光造成伤害+60%": "f03",
            "聚焦激光造成伤害+120%": "f04",
            "聚焦激光造成伤害+180%": "f05",
            "将伤害到的敌人引燃": "f06",
            "聚焦激光攻击范围": "f07",
            "聚焦激光折射+1": "f08",
            "解锁榴弹": "g00",
            "榴弹冷却-20%": "g01",
            "榴弹冷却20%": "g01",
            "榴弹冷却一20%": "g01",
            "榴弹伤害+60%": "g02",
            "榴弹伤害十60%": "g02",
            "榴弹伤害七60%": "g02",
            "榴弹伤害+120%": "g03",
            "榴弹伤害十120%": "g03",
            "榴弹伤害七120%": "g03",
            "榴弹伤害+60%，冷却-20%": "g04",
            "榴弹伤害+120%，冷却-20%": "g05",
            "榴弹伤害+150%，冷却延长30%": "g06",
            "榴弹额外释放1次": "g07",
            "榴弹爆炸范围": "g08",
            "附带1.5秒晕眩": "g09",
            "弹跳一次": "g10",
            "附加1秒冻结": "g11",
            "解锁脉冲激光": "h00",
            "脉冲激光范围": "h01",
            "脉冲激光造成伤害+60%": "h02",
            "脉冲激光造成伤害+120%": "h03",
            "脉冲激光伤害+60%，冷却-5%": "h04",
            "脉冲激光伤害+120%，冷却-10%": "h05",
            "脉冲光波": "h06",
            "0.5秒内冻结": "h07",
            "次数翻倍": "h08",
            "1秒内移动速度": "h09",
            "5秒内受到伤害": "h10",
        }
    def GetItem(self,text:str):
        for key2 in self.table2.keys():
            if text.find(key2) != -1:
                key1 = self.table2[key2]
                return [key1,self.table1[key1]]
        return ["None",["None","",0]]

ts = TraineeSkill()